package com.msw.jcwapi.wb.wbdwq.mapper;

import com.msw.jcwapi.wb.wbdwq.entity.Wbdwq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msw.jcwapi.wb.wbjyz.entity.Wbjyz;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-04-01
 */
@Mapper
public interface WbdwqMapper extends BaseMapper<Wbdwq> {

    //通过工程id查询全部定位器
    public List<Wbdwq> listByProId(int id);

    //通过wbdwqid删除该定位器
    public boolean deleteById(int id);

    //编辑腕臂定位器(通过id编辑)
    public boolean Edit(Wbdwq wbdwq);

    //通过wbdwqid查询该定位器的全部信息
    public Wbdwq listByWbdwqId(int id);

    //添加腕臂dwq
    public boolean add(Wbdwq wbdwq);

}
